package com.turing.post.salesmanage.util;

import javax.ejb.Local;
import javax.ejb.Remote;

import com.turing.post.util.PCPSApplicationException;
import com.turing.post.util.PCPSWebInput;

/**
 * 销售员业务接口
 * 
 * @author zxp
 * @Dec 20, 2012
 */
@Remote
@Local
public interface SalesBusiness {
	/**
	 * @新增销售员
	 * @param PCPSWebInput
	 *            日志记录对象
	 * @param Sales 销售员
	 * @throws PCPSApplicationException
	 */
	public void insertSalesInfo(PCPSWebInput webInput, Sales sales)
			throws PCPSApplicationException;

	/**
	 * @修改销售员
	 * @param PCPSWebInput
	 *            日志记录对象
	 * @param Sales 销售员
	 * @throws PCPSApplicationException
	 */
	public void updateSalesInfo(PCPSWebInput webInput, Sales sales)
			throws PCPSApplicationException;
}
